Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDocumentViewWithCommandBars<TView> Class / GetMainMenuBar Method


In This Topic
    GetMainMenuBar Method (NDocumentViewWithCommandBars<TView>)
    In This Topic
    Returns the menu bar with name "Main Menu" or null if such menu bar is not found.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetMainMenuBar() As NMenuBar
    'Usage
     
    
    Dim instance As NDocumentViewWithCommandBars(Of TView)
    Dim value As NMenuBar
     
    value = instance.GetMainMenuBar()
    public virtual NMenuBar GetMainMenuBar()
    Remarks
    When you get the menu bar, you can use its NMenuBar.FindMenuDropDownByText method to get a menu drop down.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also